{% extends 'base.html.twig' %}
{% block body_bar %}
    <h5>{{ dry_translation('show') }}</h5>
    <div class="ibox-tools">
        <a class="btn btn-outline btn-info" href="{{ dry_path("menu_new") }}" data-route="menu_new">{{ dry_translation('new') }}</a>
        <a class="btn btn-outline btn-info" href="{{ dry_path("menu_edit", menu.id) }}" data-route="menu_edit">{{ dry_translation('edit') }}</a>
        <a class="btn btn-outline btn-info" href="{{ dry_path("menu_index") }}" data-route="menu_index">{{ dry_translation('list') }}</a>
    </div>
{% endblock %}
{% block body %}
    <table class="table">
        <tbody>
            <tr>
                <th style="border-top:none;">{{ dry_translation('Menu.id') }}</th>
                <td style="border-top:none;">{{ menu.id }}</td>
            </tr>
            <tr>
                <th>{{ dry_translation('Menu.dryParent') }}</th>
                <td>{{ menu.dryParent }}</td>
            </tr>
            <tr>
                <th>{{ dry_translation('Menu.dryGrade') }}</th>
                <td>{{ menu.dryGrade }}</td>
            </tr>
            <tr>
                <th>{{ dry_translation('Menu.dryIcon') }}</th>
                <td>{{ menu.dryIcon }}</td>
            </tr>
            <tr>
                <th>{{ dry_translation('Menu.dryName') }}</th>
                <td>{{ menu.dryName }}</td>
            </tr>
            <tr>
                <th>{{ dry_translation('Menu.dryRouteName') }}</th>
                <td>{{ menu.dryRouteName }}</td>
            </tr>
            <tr>
                <th>{{ dry_translation('Menu.dryUrl') }}</th>
                <td>{{ menu.dryUrl }}</td>
            </tr>
            <tr>
                <th>{{ dry_translation('Menu.dryTarget') }}</th>
                <td>{{ dryTargetArray[menu.dryTarget] }}</td>
            </tr>
            <tr>
                <th>{{ dry_translation('Menu.dryStatus') }}</th>
                <td>{{ dryStatusArray[menu.dryStatus] }}</td>
            </tr>
            <tr>
                <th>{{ dry_translation('Menu.dryNote') }}</th>
                <td>{{ menu.dryNote }}</td>
            </tr>
            <tr>
                <th>{{ dry_translation('Menu.drySort') }}</th>
                <td>{{ menu.drySort }}</td>
            </tr>
            <tr>
                <th>{{ dry_translation('Menu.dryDataSort') }}</th>
                <td>{{ menu.dryDataSort }}</td>
            </tr>
            <tr>
                <th>{{ dry_translation('Menu.dryAddtime') }}</th>
                <td>{{ menu.dryAddtimeString }}</td>
            </tr>
        </tbody>
    </table>
{% endblock %}
